<?php

    include '../application/bootstrap.php';
    
    
    /*
    For a development server, we configure the
    Apache configuration with SetEnv PLACE_CONFIG dev and on the live site, we use
    SetEnv PLACE_CONFIG live. If the environment variable does not exist, we fall back
    to the general section
    */
    $configSection = getenv('PLACES_CONFIG') ? getenv('PLACES_CONFIG') : 'general';
    $bootstrap = new Bootstrap($configSection);
    
    
    $bootstrap->runApp();